﻿using System.Collections.Generic;
using Model;

namespace IDAL
{
    public interface IUserActionDAL
    {
        //增加action
        void saveUserAction(UserAction userAction);

        //删除action
        void delUserAction(UserAction userAction);

        //得到user的actions
        IList<UserAction> getUserAction(User user);

        //根据user和actionID得到
        UserAction getUserAction(User user, int actionId);

        //删除User的全部权限
        void deleteUserAction(User u);

    }
}
